package com.voice.call.service;

import com.voice.call.common.Result;

public interface NexmoService {

	//发送验证码
	boolean sendSmsCode(String phone,StringBuilder reqBuilder);
	//验证
	boolean verifySmsCode(String request_id,String code,String ip,StringBuilder errorTxt);
	//查询短信是否发送成功 (IN PROGRESS还在发送中，SUCCESS成功)
	boolean searchSms(String request_id,StringBuilder statusBuilder);
	//检查手机号码
	boolean checkPhone(String phone,StringBuilder sbStatus);
	
	Result sendSMSMessage(String from,String to,String content); 
}
